package cn.mickey.cloud.service.impl;


import cn.mickey.cloud.entity.Admin;
import cn.mickey.cloud.mapper.AdminMapper;
import cn.mickey.cloud.service.AdminService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service()
public class AdminServiceImpl implements AdminService {

    @Resource
    private AdminMapper adminMapper;
    @Override
    public Admin findAdmin(Admin admin) {
        return adminMapper.findAdmin(admin);
    }
}
